package com.xd.core.debt.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 提前还款原信息及减免对应表
 * </p>
 *
 * @author ZX
 * @since 2025-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RepaymentRelate对象", description="提前还款原信息及减免对应表")
@Builder
public class RepaymentRelate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "债权id")
    private Integer debtId;

    @ApiModelProperty(value = "本金")
    private BigDecimal principal;

    @ApiModelProperty(value = "利息")
    private BigDecimal interest;

    @ApiModelProperty(value = "违约金")
    private BigDecimal penalty;

    @ApiModelProperty(value = "逾期利息")
    private BigDecimal lateInterest;

    @ApiModelProperty(value = "罚息")
    private BigDecimal penaltyInterest;

    @ApiModelProperty(value = "减免金额")
    private BigDecimal reliefAmount;

    @ApiModelProperty(value = "是否无逾期提前还款 1:正常     2:逾期")
    private String isNormal;

    @ApiModelProperty(value = "首次逾期时间")
    private String firstOverdueDate;

    @ApiModelProperty(value = "减免后金额(结清金额)")
    private BigDecimal afterReliefAmount;
}
